package cn.sieis.service.contest;

import java.util.List;

import cn.sieis.pojo.Contest;

public interface ContestService {

	public List<Contest> getContestList(String queryConName,Integer queryConApplication,Integer queryConLevel,Integer currentPageNo,Integer pageSize) throws Exception;

	public int getContestCount(String queryConName,Integer queryConApplication,Integer queryConLevel) throws Exception;

	public boolean addContest(Contest contest) throws Exception;

	public boolean modify(Contest contest) throws Exception;

	public Contest getContestById(Integer id) throws Exception;

	public boolean deleteContestById(Integer id) throws Exception;

	public List<Contest> getConList(String queryConName,Integer queryConApplication,Integer queryConLevel)throws Exception;

	public List<Contest> getConConList() throws Exception;
	
	//ǰ�˲鿴����
		public List<Contest> getContestListFr(String conName,Integer conLevel);

}
